import request from '../utils/request'

// 新增
export function dynamicCollectionsSave(data) {
    return request({
      url: '/dynamicCollections/save',
      method: 'post',
      data: data
    })
}

// 查询
export function fetchDynamicCollectionsList(query) {
    return request({
      url: '/dynamicCollections/list',
      method: 'get',
      params: query
    })
}

// 删除
export function dynamicCollectionsDel(data) {
    return request({
      url: '/dynamicCollections/delete',
      method: 'post',
      data: data
    })
}